package com.mioto.ld.communication;

import com.mioto.ld.communication.mqtt.protocol.model.Message;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @author mioto-qinxj
 * @date 2024/5/16
 * @desc
 */
@Getter
@Setter
public class CommunicationEventSource extends ApplicationEvent {

    private Message message;

    public CommunicationEventSource(Message message) {
        super(message);
        this.message = message;
    }
}
